import React from "react";
import {Routes, Route,Navigate } from 'react-router-dom'
import Home from "./compnents/home";
import Tarot from "./compnents/tarot";
import Ji from "./compnents/ji";
// import 'antd/dist/antd.css';

const App = () => {
  return <>
 
 <Routes>
    <Route path="/" element={<Navigate to="/home" replace />} ></Route>
    <Route path="/home" element={<Home />}></Route>
    <Route path="/tarot" element={<Tarot />}></Route>
    <Route path="/ji" element={<Ji />}></Route>
  </Routes>
  </>

};

export default App;
